This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
The web request creates the document and adds the field data and I even get the attachment embedded.
The issue is that if the original jpeg is 59k, I get an image file of 48k in size.
I verify the log on the originating bit count and get 59037 byte stream.
On domino when actions performed via:
----------------
if (tempFile == null)
tempFile = File.createTempFile("Tempfile-", ".b64", new File(getTempDir()));
//System.out.println("received byte count is: "+base64bytes.length);
ByteArrayInputStream in = new ByteArrayInputStream(base64bytes);
FileOutputStream out = new FileOutputStream(tempFile);
BASE64Decoder decoder = new BASE64Decoder();
decoder.decodeBuffer(in, out);
System.out.println("tempfile is: "+tempFile);
System.out.println("tempfile length is: "+base64bytes.length);
in.close();
out.close();
..
--------------------------
base64bytes.length is lower than when it was sent after decoded method is used on the domino server.
Has anyone been able to get the image file re-conformed on the resulting side?
UTF-8 is used and have changed content-type on the soap header to "image/jpg" with no success.
Thanks,
Geoff-
Feedback number WEBB92UNL2 created by ~Martha Breboosilit on 12/10/2012
Status: Open
Comments: